package com.irdstudio.efp.esb.api.bean.yed.req;

import com.alibaba.fastjson.annotation.JSONField;
import com.irdstudio.efp.esb.api.common.GroupeInterface;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class NlsCreditOrApplOnWayReqBean implements Serializable {
    /*证件类型*/
    @Length(max = 32,groups= {GroupeInterface.yed.class})
    @JSONField(name = "IdentTp")
    private String certType	;

    /*请求id*/
    @Length(max = 32,groups= {GroupeInterface.yed.class})
    @JSONField(name = "RqstID")
    private String requestId	;

    /*证件号码*/
    @Length(max = 32,groups= {GroupeInterface.yed.class})
    @JSONField(name = "IdentNo")
    private String certCode	;

    /*授信协议编号*/
    @Length(max = 32,groups= {GroupeInterface.yed.class})
    @JSONField(name = "UseCrdtCrSrlNo")
    private String applySeq	;

    /*查询类型*/
    @NotNull(groups= {GroupeInterface.yed.class})
    @NotEmpty(groups= {GroupeInterface.yed.class})
    @Length(max = 32,groups= {GroupeInterface.yed.class})
    @JSONField(name = "UseCrdtCrTp")
    private String qryType	;

    /*产品编号*/
    @NotNull(groups= {GroupeInterface.yed.class})
    @NotEmpty(groups= {GroupeInterface.yed.class})
    @Length(max = 32,groups= {GroupeInterface.yed.class})
    @JSONField(name = "PrdctID")
    private String prdCode;

    /*预留字段*/
    @Length(max = 32,groups= {GroupeInterface.yed.class})
    @JSONField(name = "RsrvdFld1")
    private String varchar1	;
    /*预留字段*/
    @Length(max = 32,groups= {GroupeInterface.yed.class})
    @JSONField(name = "RsrvdFld2")
    private String varchar2	;
    /*预留字段*/
    @Length(max = 32,groups= {GroupeInterface.yed.class})
    @JSONField(name = "RsrvdFld3")
    private String varchar3	;
    /*预留字段*/
    @Length(max = 32,groups= {GroupeInterface.yed.class})
    @JSONField(name = "RsrvdFld4")
    private String varchar4	;


    public String getCertType() {
        return certType;
    }

    public void setCertType(String certType) {
        this.certType = certType;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getCertCode() {
        return certCode;
    }

    public void setCertCode(String certCode) {
        this.certCode = certCode;
    }

    public String getApplySeq() {
        return applySeq;
    }

    public void setApplySeq(String applySeq) {
        this.applySeq = applySeq;
    }

    public String getQryType() {
        return qryType;
    }

    public void setQryType(String qryType) {
        this.qryType = qryType;
    }

    public String getVarchar1() {
        return varchar1;
    }

    public void setVarchar1(String varchar1) {
        this.varchar1 = varchar1;
    }

    public String getVarchar2() {
        return varchar2;
    }

    public void setVarchar2(String varchar2) {
        this.varchar2 = varchar2;
    }

    public String getVarchar3() {
        return varchar3;
    }

    public void setVarchar3(String varchar3) {
        this.varchar3 = varchar3;
    }

    public String getVarchar4() {
        return varchar4;
    }

    public void setVarchar4(String varchar4) {
        this.varchar4 = varchar4;
    }

    public String getPrdCode() {
        return prdCode;
    }

    public void setPrdCode(String prdCode) {
        this.prdCode = prdCode;
    }
}
